Package com.cisco.pt.mu
Class MultiUserMessage
java.lang.Object
com.cisco.pt.impl.LTVImpl
com.cisco.pt.mu.MultiUserMessage
- All Implemented Interfaces:
LTV
- Direct Known Subclasses:
MUConInMessage,MUConOutMessage,MULinkUpdMessage,MULinkUpdStatusMessage,MUNameUpdMessage,MUNegotiationMessage,MUPDUMessage,MUPortAdvMessage,MUSaveNetReqMessage,MUSaveNetRespMessage
Base class for all Multi User Messages
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intFields inherited from interface com.cisco.pt.LTV
AUTH_CHALLENGE_TYPE, AUTH_REQUEST_TYPE, AUTH_RESPONSE_TYPE, AUTH_STATUS_TYPE, DISCONNECT_MESSAGE_TYPE, IPC_ERROR_TYPE, IPC_EVENT_SUBSCRIPTION_TYPE, IPC_EVENT_TYPE, IPC_MESSAGE_TYPE, IPC_RESPONSE_TYPE, KEEP_ALIVE_MESSAGE_TYPE, MULTI_USER_MESSAGE_TYPE, NEGOTIATION_MESSAGE_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if this message is a console input message.booleanDetermines if this message is a console output message.booleanDetermines if this message is a link update message.booleanDetermines if this message is a link update status message.booleanbooleanisPDU()Determines if this message is a PDU message.booleanDetermines if this message is a port advertisement message.booleanDetermines if this message is a save request message.booleanDetermines if this message is a save request response message.toString()Converts this message to a string.Methods inherited from class com.cisco.pt.impl.LTVImpl
encodeTypeAndPayload, getLength, getMessageId, getNextMessageId, getType, getValue, hasResponse, isEvent, isResponse, setLength, setType, setValue
-
Field Details
-
ePtmpMUMsg
public static int ePtmpMUMsg -
PTMP_TYPE_MUNEGOREQ
public static int PTMP_TYPE_MUNEGOREQ -
PTMP_TYPE_MUNEGORESP
public static int PTMP_TYPE_MUNEGORESP -
PTMP_TYPE_MUPORTADV
public static int PTMP_TYPE_MUPORTADV -
PTMP_TYPE_MULINKUPDATE
public static int PTMP_TYPE_MULINKUPDATE -
PTMP_TYPE_MULINKUPDATESTATUS
public static int PTMP_TYPE_MULINKUPDATESTATUS -
PTMP_TYPE_MUPDU
public static int PTMP_TYPE_MUPDU -
PTMP_TYPE_MUSAVENETREQ
public static int PTMP_TYPE_MUSAVENETREQ -
PTMP_TYPE_MUSAVENETRESP
public static int PTMP_TYPE_MUSAVENETRESP -
PTMP_TYPE_MUCONIN
public static int PTMP_TYPE_MUCONIN -
PTMP_TYPE_MUCONOUT
public static int PTMP_TYPE_MUCONOUT -
PTMP_TYPE_MUNAMEUPDATE
public static int PTMP_TYPE_MUNAMEUPDATE
-
-
Constructor Details
-
MultiUserMessage
public MultiUserMessage()Constructs a generic MU message
-
-
Method Details
-
toString
Converts this message to a string. -
isPortAdv
public boolean isPortAdv()Determines if this message is a port advertisement message.- Returns:
- TRUE if this is a port advertisement, FALSE if not
-
isLinkUpdate
public boolean isLinkUpdate()Determines if this message is a link update message.- Returns:
- TRUE if this is a link update, FALSE if not
-
isLinkUpdateStatus
public boolean isLinkUpdateStatus()Determines if this message is a link update status message.- Returns:
- TRUE if this is a link update status, FALSE if not
-
isPDU
public boolean isPDU()Determines if this message is a PDU message.- Returns:
- TRUE if this is a PDU, FALSE if not
-
isSaveRequest
public boolean isSaveRequest()Determines if this message is a save request message.- Returns:
- TRUE if this is a save request, FALSE if not
-
isSaveResponse
public boolean isSaveResponse()Determines if this message is a save request response message.- Returns:
- TRUE if this is a save request response, FALSE if not
-
isConInput
public boolean isConInput()Determines if this message is a console input message.- Returns:
- TRUE if this is console input, FALSE if not
-
isConOutput
public boolean isConOutput()Determines if this message is a console output message.- Returns:
- TRUE if this is console output, FALSE if not
-
isMuMessage
public boolean isMuMessage()- Specified by:
isMuMessagein interfaceLTV- Overrides:
isMuMessagein classLTVImpl- Returns:
- true if the message is a multiuser message
-